package org.genko.model;

import java.util.EventObject;
/**
 * Describes an event occurred in the model
 * @author Israel Chapa
 * 05/06/2010
 */
public class MemberEvent extends EventObject
{
	private static final long serialVersionUID = -6219090968115980830L;
	private MemberEventType eventType;
	
	public MemberEvent(Object source, MemberEventType eventType)
	{
		super(source);
		this.eventType = eventType;
	}
	
	/**
	 * @return The information of this event
	 */
	public MemberEventType getMemberEventType()
	{
		return this.eventType;
	}
}